

function almostEqual(actual, expected, delta, message) {
    if (delta === undefined) {
	delta = 0.0000001;
    }
    QUnit.push(Math.abs(actual - expected) < delta, actual, expected, message);
}

function notNull(obj, message) {
    QUnit.push(obj != null, obj, "not null", message);
}

function isNull(obj, message) {
    QUnit.push(obj == null, obj, "not null", message);
}

function lessThan(actual, limit, delta, message) {
    QUnit.push(actual < limit, actual, limit, message);
}
